|
Расположение в меню |
---|
TechDraw → Добавить Вершины → Добавить вспомогательную вершину |
Верстаки |
TechDraw |
Быстрые клавиши |
Нет |
Представлено в версии |
0.19 |
См. также |
Добавить вершины по центрам граней, Добавить 4-ре вершины по краям окружности |
The TechDraw CosmeticVertex tool adds a vertex, which is not part of the source geometry, to a view. This vertex behaves like any other vertex and can be used for dimensioning.
Cosmetic vertices used to create an otherwise impossible dimension
Cosmetic vertices have no properties of their own, as they are not document objects. They share color and size settings with regular geometry vertices.
См. так же: TechDraw API и Основы составления скриптов FreeCAD.
Cosmetic vertices are available to macros or the Python console.
dvp = App.ActiveDocument.View
org = App.Vector(0.0, 0.0, 0.0)
dvp.makeCosmeticVertex(org);
#lines too!
start = FreeCAD.Vector (1.0, 5.0, 0.0)
end = FreeCAD.Vector(1.0, -5.0, 0.0)
style = 2
weight = 0.75
pyGreen = (0.0, 0.0, 1.0, 0.0)
dvp.makeCosmeticLine(start,end,style, weight, pyGreen)